<?php
	namespace Common\Model;
	use Think\Model;
	class UserCouponModel extends Model{
		protected $tableName = 'user_coupon';
		protected $fields = array(
			'id','tid','type','user_id','order_id','condition_amount','coupon','validity_begin_time','validity_end_time','status','addtime','is_deleted',
			'_pk' => 'id','_autoinc'=>true
		);
	}
?>